// 导入封装的请求实例
import request from '@/utils/request'
// 请求方法
export const getAdvUsersListApi = params => {
  return request({
    url: '/admin/sys_user/list',
    method: 'get',
    params
  })
}
// 查询单个
export const getAdvUsersInfoApi = params => {
  return request({
    url: '/admin/sys_user/rowInfo',
    method: 'get',
    params
  })
}

// 添加
export const addAdvUsersInfoApi = data => {
  return request({
    url: '/admin/sys_user/add',
    method: 'post',
    data
  })
}
// 修改
export const updateAdvUsersInfoApi = data => {
  return request({
    url: '/admin/sys_user/update',
    method: 'post',
    data
  })
}
// 删除
export const delAdvUsersInfoApi = params => {
  return request({
    url: '/admin/sys_user/del',
    method: 'get',
    params
  })
}